﻿

using System;
using System.ServiceModel;



namespace WCFContract.Contract.TeacherContract
{
    /// <summary>
    /// 教师服务
    /// </summary>
    [ServiceContract]
    public interface ITeacher
    {
        [OperationContract]
        string GetTeacherNameWithId(Guid id);

        #region 数据契约

        [OperationContract]
        WCFModel.DataContract.Teacher GetTeacherWithId(Guid id);

        #endregion

        #region 消息契约

        [OperationContract]
        WCFModel.MessageContract.Teacher GetTeacher(WCFModel.MessageContract.Teacher obj);

        #endregion

    }
}
